#include <stdio.h>
#include <getopt.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
Defines | |
| #define | PSPDEV_ENV "PSPDEV" |
| #define | PATH_ENV "PATH" |
| #define | MAX_PATH 256 |
| #define | PATH_SEP ":" |
| #define | DIR_SEP '/' |
| #define | DIR_SEP_STR "/" |
| #define | PSPDEV_PATH_SUFFIX "/bin/psp-config" |
Enumerations | |
| enum | PspConfigMode { PSP_CONFIG_UNKNOWN, PSP_CONFIG_PSPSDK_PATH, PSP_CONFIG_PSPDEV_PATH, PSP_CONFIG_PSP_PREFIX } |
Functions | |
| int | process_args (int argc, char **argv) |
| void | print_help (void) |
| void | normalize_path (char *out) |
| char * | find_pspdev_path (char *name) |
| void | print_path (char *name) |
| int | main (int argc, char **argv) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
1.4.6